package com.test.web.dao;
import com.test.web.entity.Wztype;
import org.apache.ibatis.annotations.Param;

import java.util.List;
/**
 * @author heyanjing
 * date:2020-09-09 2020/9/9:21:44
 */
public interface WztypeDao {
    int deleteByPrimaryKey(String wzTypeId);
    int insert(Wztype record);
    int insertOrUpdate(Wztype record);
    int insertOrUpdateSelective(Wztype record);
    int insertSelective(Wztype record);
    Wztype selectByPrimaryKey(String wzTypeId);
    int updateByPrimaryKeySelective(Wztype record);
    int updateByPrimaryKey(Wztype record);
    int updateBatch(List<Wztype> list);
    int batchInsert(@Param("list") List<Wztype> list);
    Wztype getByName(@Param("name") String name);
    List<Wztype> find();
}